package com.example.mapper;
import com.example.pojo.ProcessNode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 流程节点表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-04-11
 */
@Mapper
@Repository
public interface ProcessNodeMapper extends BaseMapper<ProcessNode> {

    Integer deleteNodesByProcessId(@Param("processId") Integer processId);

    List<ProcessNode> selectProNodesByProId(@Param("processId")Integer processId);
}
